package com.example.demo.jwt;

/**
 * @author zhanpengguo
 * @date 2019-07-05 9:29
 */
public class JWTConstant {

    public static final String USERNAME = "username";

    public static final String REFRESH_TOKEN = "refresh_token";

    public static final String CLAIM_CURRENT = "currentTimeMillis";

    public static String getRefreshTokenKey(String username){
        return REFRESH_TOKEN + ":" + username;
    }

}
